/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package models;

import java.io.Serializable;

/**
 *
 * @author simone
 */
public class UserDTO implements Serializable{
    
    private String userName;
    private boolean isEmployee;
    private int idUtente;
    
    public UserDTO(){
    }

    public void setIsEmployee(boolean isEmployee) {
        this.isEmployee = isEmployee;
    }

    public int getIdUtente() {
        return idUtente;
    }

    public void setIdUtente(int idUtente) {
        this.idUtente = idUtente;
    }
    
    public UserDTO(String userName,boolean employee){
         this.userName = userName;
         this.isEmployee = employee;
    }
    
    public void setUserName(String userName){
         this.userName = userName;
    }
    
    public String getUsername(){
        return this.userName;
    }
    
    public boolean isEmployee()
    {
        return this.isEmployee;
    }
    
}
